<?php
return array(
    'controllers' => array(
        'invokables' => array(
            'Home\Controller\Index' => 'Home\Controller\IndexController',
        ),
    ),

   'router' => array(
        'routes' => array(
            'home' => array(
                'type'    => 'segment',
                'options' => array(
                    'route'    => '/home[/:action][/:id][/:page]',
                    'constraints' => array(
                        'controller' => '[a-zA-Z][a-zA-Z0-9_-]*',
                        'action'     => '[a-zA-Z][a-zA-Z0-9_-]*',
                        'id'         => '[0-9]*',
                    ),
                    'defaults' => array(
                        '__NAMESPACE__' => 'Home\Controller',
                        'controller' => 'Home\Controller\index',
                        'action'     => 'index',
                    ),

                ),
            ),
        ),
    ),


    'view_manager' => array(        
        'template_path_stack' => array(
            'home' => __DIR__ . '/../view',
        ),

        

    ),
);